<?php

return array(
    // 路由  
    "ROUTE" => array(
        "default_controller" => "index",
        "default_action" => "index",
        "paths" => []
    ),
    // 文件上传
    "UPLOAD" => array(
        "pic" => array(
            "upload_folder" => APP_PATH . "public/static/upload/pic/",
            "file_path" => "upload/pic/",
            "max_file_size" => 2000000,
            "upload_types" => array('image/jpeg', 'image/png', 'image/gif', 'image/bmp', 'application/pdf'),
            "upload_codes" => array('7173', '255216', '6677', '13780') //255216:jpg, 7173:gif, 6677:bmp, 13780:png
        ),
        "file" => array(
            "upload_folder" => APP_PATH . "public/static/upload/file/",
            "file_path" => "upload/file/",
            "max_file_size" => 2000000,
            "upload_types" => array('application/pdf'),
            "upload_codes" => array('3780') //3780:pdf
        ),
        "video" => array(
            "upload_folder" => APP_PATH . "public/static/upload/video/",
            "file_path" => "upload/video/",
            "max_file_size" => 2000000,
            "upload_types" => array('video/mp4'),
            "upload_codes" => array('0') //0:mp4
        )
    )
);